package com.cssy.yd.logic.dao;

import com.cssy.yd.logic.entity.LogicSoWarefreezedealItemBatchDO;
import com.plat.helper.SearchConditions;

import java.util.List;

import org.springframework.dao.DataAccessException;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2013-11-06
 */
public interface LogicSoWarefreezedealItemBatchDAO {

    /**
     * �������
     * @param logicSoWarefreezedealItemBatchDO
     * @return ������ݵ�����
     */
    public String insertLogicSoWarefreezedealItemBatchDO(LogicSoWarefreezedealItemBatchDO logicSoWarefreezedealItemBatchDO);

    /**
     * ͳ�Ƽ�¼��
     * @param logicSoWarefreezedealItemBatchDO
     * @return ����ļ�¼��
     */
    public Integer countLogicSoWarefreezedealItemBatchDOByExample(LogicSoWarefreezedealItemBatchDO logicSoWarefreezedealItemBatchDO);

    /**
     * ���¼�¼
     * @param logicSoWarefreezedealItemBatchDO
     * @return ��Ӱ�������
     */
    public Integer updateLogicSoWarefreezedealItemBatchDO(LogicSoWarefreezedealItemBatchDO logicSoWarefreezedealItemBatchDO);

    /**
     * ��ȡ�����б�
     * @param logicSoWarefreezedealItemBatchDO
     * @return �����б�
     */
    public List<LogicSoWarefreezedealItemBatchDO> findListByExample(LogicSoWarefreezedealItemBatchDO logicSoWarefreezedealItemBatchDO);

    /**
     * ��������ȡlogicSoWarefreezedealItemBatchDO
     * @param id
     * @return logicSoWarefreezedealItemBatchDO
     */
    public LogicSoWarefreezedealItemBatchDO findLogicSoWarefreezedealItemBatchDOByPrimaryKey(String id);

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteLogicSoWarefreezedealItemBatchDOByPrimaryKey(String id);

    public List<LogicSoWarefreezedealItemBatchDO> find(SearchConditions scs)
			throws DataAccessException;

    public Integer count(SearchConditions scs) throws DataAccessException;

    public List<LogicSoWarefreezedealItemBatchDO> findBywfdId(String id)
			throws DataAccessException;

    public Integer deleteBywfdId(String id) throws DataAccessException;

}